package com.baobaotao.advice;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestAroundBean {

	public static void main(String[] args) {
		String configpath="com/baobaotao/advice/bean.xml";
		ClassPathXmlApplicationContext ctx=new ClassPathXmlApplicationContext(configpath);
		Waiter waiter=(Waiter)ctx.getBean("waiter1");
		waiter.greetTo("Tom");

	}

}
